<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>void的使用</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
  </style>
</head>

<body>
  <div></div>
</body>
<script>
  "use strict"; {
    let a = () => {
      console.log(`a`);
    };
    let b = () => {
      console.log(`b`);
    };
    let i = 10;
    let c = () => {
      if (i == 1) return void (a(), b());
      console.log(`不是我的了`);
    };
    c();
  };
</script>

</html>